import {ipcRenderer} from 'electron';
import MySqlConnectInfo from "../../model/mysql/MySqlConnectInfo";
const listenToMainEvent = () => {
    ipcRenderer.on('main-dispatch-event', (event, args) => {


    })
}

//发送header 连接点击事件到主线程， 渲染线程需要处理的监听即可。
const sendClickHeaderMenuEventToMain = (event)=>{
    ipcRenderer.send('dispatch-center', [event])
}
export   {
    sendClickHeaderMenuEventToMain
}